/**
 * Project Name:SimonFramework
 * File Name:ImageDecoder.java
 * Package Name:com.simon.framework.image.core.decode
 * Date:2016-5-19 下午3:51:39
 * Copyright (c) 2016, simon@cmonbaby.com All Rights Reserved.
 */
package com.cmonbaby.images.core.decode;

import android.graphics.Bitmap;

import java.io.IOException;

/**
 * <p>Author:      Simon
 * <p>QO:          8950764
 * <p>Email:       simon@cmonbaby.com
 * <p>WebSize:     https://www.cmonbaby.com
 * <p>Version:     1.0.0
 * <p>Date:        2020/12/29
 * <p>Description: 提供解码图像
 */
public interface ImageDecoder {

    /**
     * Decodes image to {@link Bitmap} according target size and other parameters.
     *
     * @param imageDecodingInfo
     * @return
     * @throws IOException
     */
    Bitmap decode(ImageDecodingInfo imageDecodingInfo) throws IOException;

}
